package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    void insertBatch(List<DishFlavor> flavors);

    List<DishFlavor> getByDishId(Long id);

    //根据菜品id批量删除菜品口味数据
    void delete(Long[] ids);
}
